/**
 * Created by Administrator on 2017/5/20 0020.
 */
$(function(){
    var spans=$(".main-right-t").children("span");
    $(spans).eq(0).on("click",function(){
        $(this).css("color","red").siblings().css("color","black");
        $(".main-right-c").css("display","block").next().css("display","none");
    });
    $(spans).eq(1).on("click",function(){
        $(this).css("color","red").siblings().css("color","black");
        $(".main-right-c1").css("display","block").prev().css("display","none");
    });
})